// Base on: QHHCV2

#include <stdio.h>
#include <Arduino.h>
#ifndef TTS_Speech_cpp
#define TTS_Speech_cpp

#define CODING_GB2312 0
#define CODING_GBK 1
#define CODING_BIG5 2
#define CODING_UTF16LE 3
#define CODING_UTF8 4



class TTS_Speech {
    Stream* _serial;
  public:
    bool begin(Stream& stream);
    void play(uint8_t coding,String text);
    void playMode(uint8_t type);
};


#endif
